package org.jsbd.boss.service;

import java.io.IOException;

public interface IEmailSendService {

	/**
	 * 发送邮件
	 * @param toPeople  收件人
	 * @param subject   邮件主题
	 * @param content   邮件内容
	 * @param attachment  邮件附件
	 * @throws IOException
	 */
	public void sendEmail(String[] toPeople,String subject,String content,String[] attachment) throws IOException;

	public void sendEmailToSysAccount(String subject,String content,String[] attachment) throws IOException;
	
	public void sendEmailToSysAccountGroup(String subject,String content,String[] attachment, String group) throws IOException;
	
}
